from Page import Page
from selenium import webdriver
import pytest,time

class Test_A3():
    @pytest.fixture(scope='session')
    def driver(self):
        driver = webdriver.Edge()
        driver.maximize_window()
        yield driver
        time.sleep(3)
        driver.quit()

    def test_01(self,driver):
        po = Page(driver)
        po.luoji_01()

if __name__ == '__main__':
    pytest.main()